home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
011
/
pchelp.arc
/
ASK.###
< prev
next >
Wrap
Text File
|
1985-01-20
|
659b
|
23 lines
COMMAND: ASK DOCUMENTATION : On-line
FUNCTION: Asks a yes/no question from a batch file.
FORMAT: ASK [text]
TYPE: Public domain batch sub-command
REMARKS: This enhancement to the DOS 2.0 batch facility allows a batch file
to ask a yes/no question of the user. The user must enter Y,y,N or n.
If any other character is entered, 'Y/N ?' is displayed, and the user
must try again. Upon receipt of a valid entry, ERRORLEVEL is set to
0 for Y,y and to 1 for N,n. If no text is supplied, the default
prompt 'Press Y or N ?' is displayed.